
{layout name="layout" /}
<!-- Main content -->

    <div class="row">
        <div class="col-xs-12">
            <div class="box">
              <div class="box-header with-border">
                <h3 class="box-title">权限组列表</h3>
              </div>
                <!-- /.box-header -->
                <div class="box-body">
                    <table id="department" class="table table-bordered table-striped">
                        <thead>
                            <tr>
                                <th>ID</th>
                                <th>权限组名称</th>
                                <th>备注</th>
                                <th>添加时间</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            {php}$k=0;{/php}
                            {volist name="list" id="v"}
                            <tr>
                                <td>{++$k}</td>
                                <td>{$v.auth_name}</td>
                                <td>{$v.auth_remark}</td>
                                <td>{$v.auth_addtime}</td>
                                {if condition="$v.auth_id eq 1"}
                                <td><a href="###"><i style="color: gray;" class="fa fa-gear control"></i></a>&nbsp;<a><i style="color: gray;" class="fa fa-pencil control"></i></a>&nbsp;<i style="color: gray;" class="fa fa-trash-o red control"></i></td>
                                {else /}
                                <td><a href="{:url('/home/Auth/auth_index', 'id='.$v['auth_id'])}"><i class="fa fa-gear control"></i></a>&nbsp;<a href="{:url('/home/Auth/add', 'id='.$v['auth_id'])}"><i class="fa fa-pencil green control"></i></a>&nbsp;<i class="fa fa-trash-o red control confirm-rst-url-btn" data-url="<?php echo url('auth_del','id='.$v['auth_id']);?>" data-info="您确定要删除当前权限组吗？(无法撤销)" title="删除"></i></td>
                                {/if}
                            </tr>
                            {/volist}
                        </tbody>
                        <tfoot>
                            <tr>
                                <th>ID</th>
                                <th>权限组名称</th>
                                <th>备注</th>
                                <th>添加时间</th>
                                <th>操作</th>
                            </tr>
                        </tfoot>
                    </table>
                    {$list->render()}
                </div>
            </div>
        </div>
    </div>
</section>
{include file="public/base" /} {include file="public/footer" /}
</body>

</html>
